3.16 \(\int \frac{x^5}{a+b \text{csch}(c+d x^2)} \, dx\)

Optimal. Leaf size=325 \[ -\frac{b x^2 \text{PolyLog}\left (2,-\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{a d^2 \sqrt{a^2+b^2}}+\frac{b x^2 \text{PolyLog}\left (2,-\frac{a e^{c+d x^2}}{\sqrt{a^2+b^2}+b}\right )}{a d^2 \sqrt{a^2+b^2}}+\frac{b \text{PolyLog}\left (3,-\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{a d^3 \sqrt{a^2+b^2}}-\frac{b \text{PolyLog}\left (3,-\frac{a e^{c+d x^2}}{\sqrt{a^2+b^2}+b}\right )}{a d^3 \sqrt{a^2+b^2}}-\frac{b x^4 \log \left (\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}+1\right )}{2 a d \sqrt{a^2+b^2}}+\frac{b x^4 \log \left (\frac{a e^{c+d x^2}}{\sqrt{a^2+b^2}+b}+1\right )}{2 a d \sqrt{a^2+b^2}}+\frac{x^6}{6 a} \]

[Out]

x^6/(6*a) - (b*x^4*Log[1 + (a*E^(c + d*x^2))/(b - Sqrt[a^2 + b^2])])/(2*a*Sqrt[a^2 + b^2]*d) + (b*x^4*Log[1 +
(a*E^(c + d*x^2))/(b + Sqrt[a^2 + b^2])])/(2*a*Sqrt[a^2 + b^2]*d) - (b*x^2*PolyLog[2, -((a*E^(c + d*x^2))/(b -
 Sqrt[a^2 + b^2]))])/(a*Sqrt[a^2 + b^2]*d^2) + (b*x^2*PolyLog[2, -((a*E^(c + d*x^2))/(b + Sqrt[a^2 + b^2]))])/
(a*Sqrt[a^2 + b^2]*d^2) + (b*PolyLog[3, -((a*E^(c + d*x^2))/(b - Sqrt[a^2 + b^2]))])/(a*Sqrt[a^2 + b^2]*d^3) -
 (b*PolyLog[3, -((a*E^(c + d*x^2))/(b + Sqrt[a^2 + b^2]))])/(a*Sqrt[a^2 + b^2]*d^3)

________________________________________________________________________________________

Rubi [A]  time = 0.820176, antiderivative size = 325, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 8, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.444, Rules used = {5437, 4191, 3322, 2264, 2190, 2531, 2282, 6589} \[ -\frac{b x^2 \text{PolyLog}\left (2,-\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{a d^2 \sqrt{a^2+b^2}}+\frac{b x^2 \text{PolyLog}\left (2,-\frac{a e^{c+d x^2}}{\sqrt{a^2+b^2}+b}\right )}{a d^2 \sqrt{a^2+b^2}}+\frac{b \text{PolyLog}\left (3,-\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{a d^3 \sqrt{a^2+b^2}}-\frac{b \text{PolyLog}\left (3,-\frac{a e^{c+d x^2}}{\sqrt{a^2+b^2}+b}\right )}{a d^3 \sqrt{a^2+b^2}}-\frac{b x^4 \log \left (\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}+1\right )}{2 a d \sqrt{a^2+b^2}}+\frac{b x^4 \log \left (\frac{a e^{c+d x^2}}{\sqrt{a^2+b^2}+b}+1\right )}{2 a d \sqrt{a^2+b^2}}+\frac{x^6}{6 a} \]

Antiderivative was successfully verified.

[In]

Int[x^5/(a + b*Csch[c + d*x^2]),x]

[Out]

x^6/(6*a) - (b*x^4*Log[1 + (a*E^(c + d*x^2))/(b - Sqrt[a^2 + b^2])])/(2*a*Sqrt[a^2 + b^2]*d) + (b*x^4*Log[1 +
(a*E^(c + d*x^2))/(b + Sqrt[a^2 + b^2])])/(2*a*Sqrt[a^2 + b^2]*d) - (b*x^2*PolyLog[2, -((a*E^(c + d*x^2))/(b -
 Sqrt[a^2 + b^2]))])/(a*Sqrt[a^2 + b^2]*d^2) + (b*x^2*PolyLog[2, -((a*E^(c + d*x^2))/(b + Sqrt[a^2 + b^2]))])/
(a*Sqrt[a^2 + b^2]*d^2) + (b*PolyLog[3, -((a*E^(c + d*x^2))/(b - Sqrt[a^2 + b^2]))])/(a*Sqrt[a^2 + b^2]*d^3) -
 (b*PolyLog[3, -((a*E^(c + d*x^2))/(b + Sqrt[a^2 + b^2]))])/(a*Sqrt[a^2 + b^2]*d^3)

Rule 5437

Int[((a_.) + Csch[(c_.) + (d_.)*(x_)^(n_)]*(b_.))^(p_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simpli
fy[(m + 1)/n] - 1)*(a + b*Csch[c + d*x])^p, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p}, x] && IGtQ[Simplif
y[(m + 1)/n], 0] && IntegerQ[p]

Rule 4191

Int[(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(n_.)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[
(c + d*x)^m, 1/(Sin[e + f*x]^n/(b + a*Sin[e + f*x])^n), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && ILtQ[n, 0] &
& IGtQ[m, 0]

Rule 3322

Int[((c_.) + (d_.)*(x_))^(m_.)/((a_) + (b_.)*sin[(e_.) + (Complex[0, fz_])*(f_.)*(x_)]), x_Symbol] :> Dist[2,
Int[((c + d*x)^m*E^(-(I*e) + f*fz*x))/(-(I*b) + 2*a*E^(-(I*e) + f*fz*x) + I*b*E^(2*(-(I*e) + f*fz*x))), x], x]
 /; FreeQ[{a, b, c, d, e, f, fz}, x] && NeQ[a^2 - b^2, 0] && IGtQ[m, 0]

Rule 2264

Int[((F_)^(u_)*((f_.) + (g_.)*(x_))^(m_.))/((a_.) + (b_.)*(F_)^(u_) + (c_.)*(F_)^(v_)), x_Symbol] :> With[{q =
 Rt[b^2 - 4*a*c, 2]}, Dist[(2*c)/q, Int[((f + g*x)^m*F^u)/(b - q + 2*c*F^u), x], x] - Dist[(2*c)/q, Int[((f +
g*x)^m*F^u)/(b + q + 2*c*F^u), x], x]] /; FreeQ[{F, a, b, c, f, g}, x] && EqQ[v, 2*u] && LinearQ[u, x] && NeQ[
b^2 - 4*a*c, 0] && IGtQ[m, 0]

Rule 2190

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m*Log[1 + (b*(F^(g*(e + f*x)))^n)/a])/(b*f*g*n*Log[F]), x]
 - Dist[(d*m)/(b*f*g*n*Log[F]), Int[(c + d*x)^(m - 1)*Log[1 + (b*(F^(g*(e + f*x)))^n)/a], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2531

Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> -Simp[((
f + g*x)^m*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)])/(b*c*n*Log[F]), x] + Dist[(g*m)/(b*c*n*Log[F]), Int[(f + g*x)
^(m - 1)*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)], x], x] /; FreeQ[{F, a, b, c, e, f, g, n}, x] && GtQ[m, 0]

Rule 2282

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 6589

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rubi steps

\begin{align*} \int \frac{x^5}{a+b \text{csch}\left (c+d x^2\right )} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{x^2}{a+b \text{csch}(c+d x)} \, dx,x,x^2\right )\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \left (\frac{x^2}{a}-\frac{b x^2}{a (b+a \sinh (c+d x))}\right ) \, dx,x,x^2\right )\\ &=\frac{x^6}{6 a}-\frac{b \operatorname{Subst}\left (\int \frac{x^2}{b+a \sinh (c+d x)} \, dx,x,x^2\right )}{2 a}\\ &=\frac{x^6}{6 a}-\frac{b \operatorname{Subst}\left (\int \frac{e^{c+d x} x^2}{-a+2 b e^{c+d x}+a e^{2 (c+d x)}} \, dx,x,x^2\right )}{a}\\ &=\frac{x^6}{6 a}-\frac{b \operatorname{Subst}\left (\int \frac{e^{c+d x} x^2}{2 b-2 \sqrt{a^2+b^2}+2 a e^{c+d x}} \, dx,x,x^2\right )}{\sqrt{a^2+b^2}}+\frac{b \operatorname{Subst}\left (\int \frac{e^{c+d x} x^2}{2 b+2 \sqrt{a^2+b^2}+2 a e^{c+d x}} \, dx,x,x^2\right )}{\sqrt{a^2+b^2}}\\ &=\frac{x^6}{6 a}-\frac{b x^4 \log \left (1+\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{2 a \sqrt{a^2+b^2} d}+\frac{b x^4 \log \left (1+\frac{a e^{c+d x^2}}{b+\sqrt{a^2+b^2}}\right )}{2 a \sqrt{a^2+b^2} d}+\frac{b \operatorname{Subst}\left (\int x \log \left (1+\frac{2 a e^{c+d x}}{2 b-2 \sqrt{a^2+b^2}}\right ) \, dx,x,x^2\right )}{a \sqrt{a^2+b^2} d}-\frac{b \operatorname{Subst}\left (\int x \log \left (1+\frac{2 a e^{c+d x}}{2 b+2 \sqrt{a^2+b^2}}\right ) \, dx,x,x^2\right )}{a \sqrt{a^2+b^2} d}\\ &=\frac{x^6}{6 a}-\frac{b x^4 \log \left (1+\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{2 a \sqrt{a^2+b^2} d}+\frac{b x^4 \log \left (1+\frac{a e^{c+d x^2}}{b+\sqrt{a^2+b^2}}\right )}{2 a \sqrt{a^2+b^2} d}-\frac{b x^2 \text{Li}_2\left (-\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{a \sqrt{a^2+b^2} d^2}+\frac{b x^2 \text{Li}_2\left (-\frac{a e^{c+d x^2}}{b+\sqrt{a^2+b^2}}\right )}{a \sqrt{a^2+b^2} d^2}+\frac{b \operatorname{Subst}\left (\int \text{Li}_2\left (-\frac{2 a e^{c+d x}}{2 b-2 \sqrt{a^2+b^2}}\right ) \, dx,x,x^2\right )}{a \sqrt{a^2+b^2} d^2}-\frac{b \operatorname{Subst}\left (\int \text{Li}_2\left (-\frac{2 a e^{c+d x}}{2 b+2 \sqrt{a^2+b^2}}\right ) \, dx,x,x^2\right )}{a \sqrt{a^2+b^2} d^2}\\ &=\frac{x^6}{6 a}-\frac{b x^4 \log \left (1+\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{2 a \sqrt{a^2+b^2} d}+\frac{b x^4 \log \left (1+\frac{a e^{c+d x^2}}{b+\sqrt{a^2+b^2}}\right )}{2 a \sqrt{a^2+b^2} d}-\frac{b x^2 \text{Li}_2\left (-\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{a \sqrt{a^2+b^2} d^2}+\frac{b x^2 \text{Li}_2\left (-\frac{a e^{c+d x^2}}{b+\sqrt{a^2+b^2}}\right )}{a \sqrt{a^2+b^2} d^2}+\frac{b \operatorname{Subst}\left (\int \frac{\text{Li}_2\left (\frac{a x}{-b+\sqrt{a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x^2}\right )}{a \sqrt{a^2+b^2} d^3}-\frac{b \operatorname{Subst}\left (\int \frac{\text{Li}_2\left (-\frac{a x}{b+\sqrt{a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x^2}\right )}{a \sqrt{a^2+b^2} d^3}\\ &=\frac{x^6}{6 a}-\frac{b x^4 \log \left (1+\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{2 a \sqrt{a^2+b^2} d}+\frac{b x^4 \log \left (1+\frac{a e^{c+d x^2}}{b+\sqrt{a^2+b^2}}\right )}{2 a \sqrt{a^2+b^2} d}-\frac{b x^2 \text{Li}_2\left (-\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{a \sqrt{a^2+b^2} d^2}+\frac{b x^2 \text{Li}_2\left (-\frac{a e^{c+d x^2}}{b+\sqrt{a^2+b^2}}\right )}{a \sqrt{a^2+b^2} d^2}+\frac{b \text{Li}_3\left (-\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}\right )}{a \sqrt{a^2+b^2} d^3}-\frac{b \text{Li}_3\left (-\frac{a e^{c+d x^2}}{b+\sqrt{a^2+b^2}}\right )}{a \sqrt{a^2+b^2} d^3}\\ \end{align*}

Mathematica [A]  time = 0.196025, size = 256, normalized size = 0.79 \[ \frac{-6 b d x^2 \text{PolyLog}\left (2,\frac{a e^{c+d x^2}}{\sqrt{a^2+b^2}-b}\right )+6 b d x^2 \text{PolyLog}\left (2,-\frac{a e^{c+d x^2}}{\sqrt{a^2+b^2}+b}\right )+6 b \text{PolyLog}\left (3,\frac{a e^{c+d x^2}}{\sqrt{a^2+b^2}-b}\right )-6 b \text{PolyLog}\left (3,-\frac{a e^{c+d x^2}}{\sqrt{a^2+b^2}+b}\right )-3 b d^2 x^4 \log \left (\frac{a e^{c+d x^2}}{b-\sqrt{a^2+b^2}}+1\right )+3 b d^2 x^4 \log \left (\frac{a e^{c+d x^2}}{\sqrt{a^2+b^2}+b}+1\right )+d^3 x^6 \sqrt{a^2+b^2}}{6 a d^3 \sqrt{a^2+b^2}} \]

Antiderivative was successfully verified.

[In]

Integrate[x^5/(a + b*Csch[c + d*x^2]),x]

[Out]

(Sqrt[a^2 + b^2]*d^3*x^6 - 3*b*d^2*x^4*Log[1 + (a*E^(c + d*x^2))/(b - Sqrt[a^2 + b^2])] + 3*b*d^2*x^4*Log[1 +
(a*E^(c + d*x^2))/(b + Sqrt[a^2 + b^2])] - 6*b*d*x^2*PolyLog[2, (a*E^(c + d*x^2))/(-b + Sqrt[a^2 + b^2])] + 6*
b*d*x^2*PolyLog[2, -((a*E^(c + d*x^2))/(b + Sqrt[a^2 + b^2]))] + 6*b*PolyLog[3, (a*E^(c + d*x^2))/(-b + Sqrt[a
^2 + b^2])] - 6*b*PolyLog[3, -((a*E^(c + d*x^2))/(b + Sqrt[a^2 + b^2]))])/(6*a*Sqrt[a^2 + b^2]*d^3)

________________________________________________________________________________________

Maple [F]  time = 0.062, size = 0, normalized size = 0. \begin{align*} \int{\frac{{x}^{5}}{a+b{\rm csch} \left (d{x}^{2}+c\right )}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^5/(a+b*csch(d*x^2+c)),x)

[Out]

int(x^5/(a+b*csch(d*x^2+c)),x)

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^5/(a+b*csch(d*x^2+c)),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [C]  time = 1.75542, size = 1646, normalized size = 5.06 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^5/(a+b*csch(d*x^2+c)),x, algorithm="fricas")

[Out]

1/6*((a^2 + b^2)*d^3*x^6 - 6*a*b*d*x^2*sqrt((a^2 + b^2)/a^2)*dilog((b*cosh(d*x^2 + c) + b*sinh(d*x^2 + c) + (a
*cosh(d*x^2 + c) + a*sinh(d*x^2 + c))*sqrt((a^2 + b^2)/a^2) - a)/a + 1) + 6*a*b*d*x^2*sqrt((a^2 + b^2)/a^2)*di
log((b*cosh(d*x^2 + c) + b*sinh(d*x^2 + c) - (a*cosh(d*x^2 + c) + a*sinh(d*x^2 + c))*sqrt((a^2 + b^2)/a^2) - a
)/a + 1) + 3*a*b*c^2*sqrt((a^2 + b^2)/a^2)*log(2*a*cosh(d*x^2 + c) + 2*a*sinh(d*x^2 + c) + 2*a*sqrt((a^2 + b^2
)/a^2) + 2*b) - 3*a*b*c^2*sqrt((a^2 + b^2)/a^2)*log(2*a*cosh(d*x^2 + c) + 2*a*sinh(d*x^2 + c) - 2*a*sqrt((a^2
+ b^2)/a^2) + 2*b) + 6*a*b*sqrt((a^2 + b^2)/a^2)*polylog(3, (b*cosh(d*x^2 + c) + b*sinh(d*x^2 + c) + (a*cosh(d
*x^2 + c) + a*sinh(d*x^2 + c))*sqrt((a^2 + b^2)/a^2))/a) - 6*a*b*sqrt((a^2 + b^2)/a^2)*polylog(3, (b*cosh(d*x^
2 + c) + b*sinh(d*x^2 + c) - (a*cosh(d*x^2 + c) + a*sinh(d*x^2 + c))*sqrt((a^2 + b^2)/a^2))/a) - 3*(a*b*d^2*x^
4 - a*b*c^2)*sqrt((a^2 + b^2)/a^2)*log(-(b*cosh(d*x^2 + c) + b*sinh(d*x^2 + c) + (a*cosh(d*x^2 + c) + a*sinh(d
*x^2 + c))*sqrt((a^2 + b^2)/a^2) - a)/a) + 3*(a*b*d^2*x^4 - a*b*c^2)*sqrt((a^2 + b^2)/a^2)*log(-(b*cosh(d*x^2
+ c) + b*sinh(d*x^2 + c) - (a*cosh(d*x^2 + c) + a*sinh(d*x^2 + c))*sqrt((a^2 + b^2)/a^2) - a)/a))/((a^3 + a*b^
2)*d^3)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{5}}{a + b \operatorname{csch}{\left (c + d x^{2} \right )}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**5/(a+b*csch(d*x**2+c)),x)

[Out]

Integral(x**5/(a + b*csch(c + d*x**2)), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{5}}{b \operatorname{csch}\left (d x^{2} + c\right ) + a}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^5/(a+b*csch(d*x^2+c)),x, algorithm="giac")

[Out]

integrate(x^5/(b*csch(d*x^2 + c) + a), x)